package com.cn.pet.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

public class ItemQueryRequest {

    private int platformId;
    private int isb2c;

    private int brandId;
    private int keywordId;
    private BigDecimal keywordCordon;
    private int cordonFlag;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    public int getPlatformId() {
        return platformId;
    }

    public void setPlatformId(int platformId) {
        this.platformId = platformId;
    }

    public int getIsb2c() {
        return isb2c;
    }

    public void setIsb2c(int isb2c) {
        this.isb2c = isb2c;
    }

    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public int getKeywordId() {
        return keywordId;
    }

    public void setKeywordId(int keywordId) {
        this.keywordId = keywordId;
    }

    public BigDecimal getKeywordCordon() {
        return keywordCordon;
    }

    public void setKeywordCordon(BigDecimal keywordCordon) {
        this.keywordCordon = keywordCordon;
    }

    public int getCordonFlag() {
        return cordonFlag;
    }

    public void setCordonFlag(int cordonFlag) {
        this.cordonFlag = cordonFlag;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

}
